package com.unittec.zk.sdk.exam.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * 题库-改 请求实体
 *
 * @author wangyongfeng
 * @date 2021/12/6
 */
@ApiModel("题库-改 请求实体")
@Data
public class Req201003 implements Serializable {

    private static final long serialVersionUID = 7107854900839111036L;

    @ApiModelProperty(value = "id",required = true)
    @NotBlank(message = "请传入id")
    private String id;

    @ApiModelProperty(value = "题库名",required = true)
    @NotBlank(message = "请输入题库名")
    @Size(max = 50, message = "题库名不超过50个字符")
    private String title;

    @ApiModelProperty("题库备注")
    @Size(max = 200, message = "题库备注不超过200个字符")
    private String remark;
}